package cn.echogo.framework.homemenu;

import android.graphics.Color;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import cn.echogo.framework.activity.EGFragment;

public class DetailFragment extends EGFragment {

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		LinearLayout line = new LinearLayout(getActivity());
		line.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, ViewGroup.LayoutParams.FILL_PARENT));
		line.setBackgroundColor(Color.parseColor("#00FFFF"));
		TextView tv = new TextView(getActivity());
		tv.setText("Detail, Detail, Detail, Detail");
		Button btn = new Button(getActivity());
		btn.setText("DetailButton");
		line.addView(tv);
		line.addView(btn);
		return line;
	}
	
}
